<?php

Class MWelcome extends Model{

    function __construct() {
        parent::__construct();
    }

    function get($index) {
        return $index;
    }

    function getCate($id) {
        $SQL = 'SELECT * FROM crm_customer WHERE id='.$id;
        return $this->db->query($SQL);
    }
}

?>